import React from 'react';
import ReactDOM from 'react-dom';
import {BrowserRouter as Router } from 'react-router-dom'

import App from './App';


//渲染app组件
ReactDOM.render(
    <Router>
      <App/>
    </Router>

, document.getElementById('root'))